from redis import StrictRedis


class Config:
    DEBUG =True

    SECRET_KEY='RCeNECnHUlJJsCU8ztGG2KRcd2CuH3x5oAL67x6Dqehl/Ub4WNkpcaSSDzd0v2DyPPg='

    SESSION_TYPE ='redis'
    SESSION_REDIS = StrictRedis(host='127.0.0.1',port=6379)
    SESSION_USE_SIGNER = True
    PERMANENT_SESSION_LIFETIME = 86400